﻿using MongoDB.Driver;
using Leo.Awesome.DictionaryManagement.Domain;
using Volo.Abp.Data;
using Volo.Abp.MongoDB;

namespace Leo.Awesome.DictionaryManagement.MongoDB;

[ConnectionStringName("Default")]
public class DictionaryManagementMongoDbContext : AbpMongoDbContext
{
    public IMongoCollection<DictionaryItem> DictionaryItems => Collection<DictionaryItem>();
    public IMongoCollection<Section> Sections => Collection<Section>();

    protected override void CreateModel(IMongoModelBuilder modelBuilder)
    {
        base.CreateModel(modelBuilder);

    }
}
